<head>
   <meta charset="utf-8">
   <noscript>&lt;meta http-equiv="refresh" content="0; URL=/?_fb_noscript=1" /&gt;</noscript>
   <meta name="robots" content="noodp, noydir">
   <meta name="referrer" content="default" id="meta_referrer">
   <link rel="alternate" media="handheld" href="https://www.facebook.com/">
   <link type="text/css" rel="stylesheet" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yM/r/OPKRNrwQu56.css">
   <link type="text/css" rel="stylesheet" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/ye/r/R0Az238-gJQ.css">
   <link type="text/css" rel="stylesheet" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yR/r/hCihERBJBbC.css">
   <link type="text/css" rel="stylesheet" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yC/r/plN_l2e3Zr8.css">
   <link type="text/css" rel="stylesheet" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yv/r/WLEOQ2oWwhR.css">
   <title id="pageTitle">HCMUS - FIT - LTHD - HC</title>
   <noscript>&lt;meta http-equiv="X-Frame-Options" content="DENY" /&gt;</noscript>
   <link rel="shortcut icon" href="https://fbstatic-a.akamaihd.net/rsrc.php/yl/r/H3nktOa7ZMg.ico">
   <link type="text/css" rel="stylesheet" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yj/r/j7Q3OriShjY.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/y1/r/fGSV5pSbjZ1.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yD/r/40jiJDYpa35.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yq/r/Y_4VCKOrUQI.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yg/r/VlHLtokaOMI.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yZ/r/Yyypdb0USg4.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yF/r/zIR9E40vWWA.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/ym/r/XM1mDJIy-XK.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yX/r/LZhNTRSGAcJ.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yh/r/NmJYtUqwZcS.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yh/r/MbUn-65VKNa.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yS/r/KDy3XBQFsbZ.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yL/r/HprQAqDEq7O.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yh/r/5Sgn-3WKnie.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yA/r/vger9SGoeJI.css">
   <link rel="stylesheet" type="text/css" href="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yx/r/fYT11wGCudR.css">
   <!-- My Stylesheet -->
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
    <link rel="stylesheet" type="text/css" href="view/css/stylesheet.css">


</head>
<div id="contentArea" role="main">
<?php

//print_r('<pre/>');
//print_r($data_render);
//die();

?>
   <div id="heading_title">
       <a href="<?php echo $base_link; ?>"><h1>FACEBOOK GROUP HCDH - LTHD</h1></a>
   </div>
    <div class="frame-button">
        <a href="<?php echo $sort_comment; ?>" class="button"><?php echo $text_sort_comment; ?></a>
        <a href="<?php echo $sort_like; ?>" class="button"><?php echo $text_sort_like; ?></a>
    </div>
   <div id="pagelet_group_">
      <div class="groupComposerCleanWrap" id="pagelet_group_composer" style="display: none;">
         <div class="_119 stat_elem focus_target mbl" id="u_jsonp_2_d" onclick="Bootloader.loadComponents(&quot;ComposerXControllerBootload&quot;, emptyFunction);">
            <form rel="async" class="_2_4" action="#" method="post" onsubmit="return window.Event &amp;&amp; Event.__inlineSubmit &amp;&amp; Event.__inlineSubmit(this,event)" id="u_jsonp_2_t">
               <input type="hidden" name="fb_dtsg" value="AQCNmCsC" autocomplete="off">
               <div class="clearfix _5142">
                  <img class="_mi rfloat uiLoadingIndicatorAsync img" src="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yb/r/GsNJNwuI-UM.gif" alt="" width="16" height="11">
                  <div>
                     <ul class="uiList _1dsl _509- _4ki _6-h _6-j _6-i">
                        <li class="_4j _519b"><a data-onclick="[[&quot;ComposerXAttachmentBootstrap&quot;,&quot;bootstrap&quot;]]" class="_9lb" aria-pressed="true" href="#" role="button" data-endpoint="/ajax/composerx/attachment/group/post/"><span class="uiIconText _51z7"><i class="img sp_8co514 sx_d4a2b2"></i>Write Post<i class="_2wr"></i></span></a></li>
                        <li class="_92"><a data-onclick="[[&quot;ComposerXAttachmentBootstrap&quot;,&quot;bootstrap&quot;]]" class="_9lb" aria-pressed="false" href="#" role="button" data-endpoint="/ajax/composerx/attachment/media/chooser/"><span class="uiIconText _51z7"><i class="img sp_exli40 sx_168111"></i>Add Photo / Video<i class="_2wr"></i></span></a></li>
                        <li class="_c-"><a data-onclick="[[&quot;ComposerXAttachmentBootstrap&quot;,&quot;bootstrap&quot;]]" class="_9lb" aria-pressed="false" href="#" role="button" data-endpoint="/ajax/composerx/attachment/question/"><span class="uiIconText _51z7"><i class="img sp_enwb5t sx_175bb2"></i>Ask Question<i class="_2wr"></i></span></a></li>
                        <li class="_2vd"><a data-onclick="[[&quot;ComposerXAttachmentBootstrap&quot;,&quot;bootstrap&quot;]]" class="_9lb" aria-pressed="false" href="#" role="button" data-endpoint="/ajax/composerx/attachment/group/filedropbox/"><span class="uiIconText _51z7"><i class="img sp_enwb5t sx_3562ea"></i>Add File<i class="_2wr"></i></span></a></li>
                     </ul>
                  </div>
               </div>
               <input type="hidden" autocomplete="off" name="composerid" value="u_jsonp_2_d"><input type="hidden" autocomplete="off" name="targetid" value="241619362662034"><input type="hidden" autocomplete="off" name="loaded_components[]" value="maininput"><input type="hidden" autocomplete="off" name="loaded_components[]" value="withtaggericon"><input type="hidden" autocomplete="off" name="loaded_components[]" value="placetaggericon"><input type="hidden" autocomplete="off" name="loaded_components[]" value="cameraicon"><input type="hidden" autocomplete="off" name="loaded_components[]" value="ogtaggericon"><input type="hidden" autocomplete="off" name="loaded_components[]" value="mainprivacywidget"><input type="hidden" autocomplete="off" name="composerid" value="u_jsonp_2_d"><input type="hidden" name="loaded_components[]" value="withtaggericon"><input type="hidden" name="loaded_components[]" value="ogtaggericon"><input type="hidden" name="loaded_components[]" value="mainprivacywidget"><input type="hidden" name="loaded_components[]" value="cameraicon"><input type="hidden" name="loaded_components[]" value="placetaggericon"><input type="hidden" name="loaded_components[]" value="maininput">
            </form>
            <div class="_55d0">
               <form rel="async" action="/ajax/updatestatus.php" method="post" onsubmit="return window.Event &amp;&amp; Event.__inlineSubmit &amp;&amp; Event.__inlineSubmit(this,event)" id="u_jsonp_2_f">
                  <input type="hidden" name="fb_dtsg" value="AQCNmCsC" autocomplete="off">
                  <div class="_2yg">
                     <div class="_1zja">
                        <div class="_1zjb"><span class="_1zjd">Drag Link/Photos Here</span><span class="_4_9w">Drop Link</span><span class="_4_9x">Drop Photo</span><span class="_4_9y">Drop Photos</span></div>
                     </div>
                     <input type="hidden" autocomplete="off" name="xhpc_context" value="profile"><input type="hidden" autocomplete="off" name="xhpc_ismeta" value="1"><input type="hidden" autocomplete="off" name="xhpc_timeline" value=""><input type="hidden" autocomplete="off" name="xhpc_composerid" value="u_jsonp_2_d"><input type="hidden" autocomplete="off" name="xhpc_targetid" value="241619362662034">
                     <div data-onfocus="[[&quot;ComposerXStatusAttachmentBootloader&quot;,&quot;emptyFunction&quot;]]">
                        <div id="u_jsonp_2_p">
                           <div class="uiMentionsInput _11a" id="u_jsonp_2_q">
                              <div class="highlighter">
                                 <div><span class="highlighterContent"></span></div>
                              </div>
                              <div class="uiTypeahead composerTypeahead mentionsTypeahead" id="u_jsonp_2_r">
                                 <input type="hidden" name="clp" value="{&quot;cl_impid&quot;:&quot;03db8b09&quot;,&quot;clearcounter&quot;:0,&quot;elementid&quot;:&quot;u_jsonp_2_s&quot;,&quot;version&quot;:&quot;x&quot;,&quot;parent_fbid&quot;:241619362662034}">
                                 <div class="wrap">
                                    <input type="hidden" autocomplete="off" class="hiddenInput">
                                    <div class="innerWrap"><textarea class="DOMControl_placeholder uiTextareaAutogrow input autofocus mentionsTextarea textInput" title="Write something..." name="xhpc_message" placeholder="Write something..." role="textbox" aria-autocomplete="list" autocomplete="off" aria-expanded="false" aria-owns="typeahead_list_u_jsonp_2_r" onkeydown="window.Bootloader &amp;&amp; Bootloader.loadComponents([&quot;control-textarea&quot;], function() { TextAreaControl.getInstance(this) }.bind(this)); " id="u_jsonp_2_s" aria-label="Write something...">Write something...</textarea></div>
                                 </div>
                              </div>
                              <input type="hidden" autocomplete="off" class="mentionsHidden">
                           </div>
                        </div>
                     </div>
                     <div class="_3-6"></div>
                     <div class="_1dsp _4-">
                        <div class="clearfix">
                           <div class="_52lb _3-7 lfloat">
                              <div class="lfloat" id="u_jsonp_2_g"><a class="_1dsq _1dsv" href="#" data-gt="{&quot;composer&quot;:{&quot;comp&quot;:&quot;people&quot;,&quot;ua_id&quot;:&quot;composer:post&quot;}}" role="button" aria-label="Tag people in your post" title="Tag people in your post" id="u_jsonp_2_j"><span class="_1dsr"><span class="_4-px ellipsis">Tag People</span></span></a></div>
                              <div class="lfloat" id="u_jsonp_2_n"><a class="_1dsq _1dss" href="#" data-gt="{&quot;composer&quot;:{&quot;comp&quot;:&quot;location&quot;,&quot;ua_id&quot;:&quot;composer:post&quot;}}" aria-label="Add a location to post" role="button" id="u_jsonp_2_o"></a></div>
                              <div class="lfloat" id="u_jsonp_2_k">
                                 <div class="_6a _m _1dsq _1dsw hidden_elem" id="u_jsonp_2_l">
                                    <a class="_1dsr" role="presentation" rel="ignore" id="u_jsonp_2_m">
                                       <span class="_4-px ellipsis">Add Photo</span>
                                       <div class="_3jk"><input type="file" class="_n _5f0v" title="Choose a file to upload" multiple="1" name="composer_unpublished_photo[]" aria-label="Add photos to your post" id="js_1"></div>
                                    </a>
                                 </div>
                              </div>
                              <div class="lfloat" id="u_jsonp_2_h"><a class="_1dsq _4-jj" href="#" data-gt="{&quot;composer&quot;:{&quot;comp&quot;:&quot;action&quot;,&quot;ua_id&quot;:&quot;composer:post&quot;}}" role="button" aria-label="Say what you are doing" title="Say what you are doing" id="composerActionTagger"><span class="_1dsr"><span class="_1dsr _5t3m hidden_elem"></span><span class="_4-px ellipsis">Tag action</span></span></a></div>
                           </div>
                           <ul class="uiList _1dso rfloat _509- _4ki _6-h _6-j _6-i">
                              <li>
                                 <div id="u_jsonp_2_i">
                                    <div id="u_jsonp_2_u"><a class="_3qig uiButtonDisabled uiButton" role="button" data-href="#"><i class="mrs customimg img sp_bkh4az sx_be0897"></i><span class="uiButtonText">HCMUS - FIT - LTHD - HC</span></a></div>
                                 </div>
                              </li>
                              <li><button value="1" class="_42ft _42fu _11b selected _42g-" type="submit">Post</button></li>
                           </ul>
                        </div>
                     </div>
                  </div>
               </form>
            </div>
         </div>
         <div class="groupsSkyComposerSpacer"></div>
      </div>
      <div id="pagelet_consolidate_posts"></div>
      <div id="pagelet_group_mall">
         <ul style="float: left;" class="uiList uiStream uiStreamHomepage translateParent uiStreamRedesign uiStreamLargeHeadline fbGroupsStream fbGroupsBoulderStream _4kg _4ks" id="group_mall_241619362662034" data-referrer="group_mall_241619362662034">
            <li class="mts uiStreamHeader"><span class="plm uiStreamHeaderText fss fwb">RECENT POSTS</span></li>
            <?php
            date_default_timezone_set("Asia/Ho_Chi_Minh");
           	foreach($data_render as  $item){
           	    $name = isset($item['post_uname']) ? $item['post_uname'] : '';
                $message = isset($item['post_message']) ? htmlentities($item['post_message'],ENT_QUOTES, 'UTF-8') : '';
            	
                $id = (isset($item['post_id']) && !empty($item['post_id'])) ? $item['post_id'] : '';
                //$link =  (isset( $item['link']) && !empty($item['link'])) ?  $item['link'] : '';
                $picture =  (isset($item['post_image']) && !empty($item['post_image'])) ? $item['post_image'] : '';
                $picture = str_replace('_s.jpg','_n.jpg',$picture);
                $created_time = ($item['post_created']);
                $arr_times = explode('T',$created_time);
                //echo strtotime($tr);
                $time = getdate(strtotime($created_time));
                //$date = new DateTime($created_time, new DateTimeZone('Asia/Ho_Chi_Minh'));
                $date  = date('Y/m/d H:i:s',strtotime($created_time));
                $uimage = $item['post_uimage'];
                $post_uid = $item['post_uid'];
                if(isset($item['post_likes'])){
                    $likes = (int)$item['post_likes'];
                }else{
                    $likes = 0;
                }
                if(isset($item['list_comments']) && !empty($item['list_comments'])){
                    $comments = $item['list_comments'];
                    /*$paging_comments  = $item['list_comments'];
                    $count_paging = sizeof($paging_comments);*/
                }else{
                    $comments = array();
                }

                $profile = "https://www.facebook.com/".$name;


                ?>
            <li class="uiUnifiedStory uiStreamStory genericStreamStory aid_100001655825697 aid_241619362662034" id="mall_post_260845244072779" data-ft="{&quot;id&quot;:260845244072779,&quot;author&quot;:100001655825697}" aria-haspopup="true">
                 <div class="clearfix storyContent">
                     <a class="actorPhoto lfloat"  href="<?php echo $profile ?>" tabindex="-1" aria-hidden="true" data-ft="{&quot;type&quot;:60,&quot;tn&quot;:&quot;\u003C&quot;}" data-hovercard="/ajax/hovercard/hovercard.php?id=100001655825697&amp;extragetparams=%7B%22hc_location%22%3A%22stream%22%7D">
                     <img class="_s0 profilePic _rw img" src="<?php echo $uimage; ?>" alt=""></a>
                     <div class="storyInnerContent">
                         <div class="mainWrapper">
                             <div class="storyInnerWrapper">
                                 <h5 class="uiStreamMessage uiStreamHeadline" data-ft="{&quot;tn&quot;:&quot;:&quot;}">
                                     <?php     //xem lai cho nay??????????????    ?>
                                     <div class="actorDescription actorName"><a href="https://www.facebook.com/<?php echo $post_uid; ?>" data-ft="{&quot;tn&quot;:&quot;;&quot;}" data-hovercard="/ajax/hovercard/user.php?id=<?php echo $post_uid; ?>&amp;extragetparams=%7B%22hc_location%22%3A%22stream%22%7D"><?php echo $name; ?></a></div>
                                 </h5>
                                 <h5 class="uiStreamMessage userContentWrapper" data-ft="{&quot;type&quot;:1,&quot;tn&quot;:&quot;K&quot;}">
                              <span class="messageBody" data-ft="{&quot;type&quot;:3,&quot;tn&quot;:&quot;K&quot;}">
                                 <div><span class="userContent">
                                 <?php //echo $message; ?>
                                 <?php //if(isset($hash_tag) && !empty($hash_tag)) { ?>
                                    <i class="_4-k1 img sp_8co514 sx_f637b5"></i> <br> 
                                    <!--<a class="_58cn" href="https://www.facebook.com/hashtag/<?php //echo $hash_tag; ?>">#<?php //echo $hash_tag; ?></a> -->
                                    <?php echo preg_replace('/#([a-z]+)/i',"<a class='_58cn' href='".$base_link."&hashtab=$1'>#$1</a>",$message); ?>
                                 <?php //} ?>
                                 </span></div>
                              </span>
                                 </h5>
                                 <!-- picture topic -->
                                 <?php if(isset($picture) && !empty($picture)) { ?>
                                 <div class="mvm uiStreamAttachments fbMainStreamAttachment" data-ft="{&quot;type&quot;:10,&quot;tn&quot;:&quot;H&quot;}">
                                   <div class="clearfix photoRedesign">
                                      <a class="uiPhotoThumb photoRedesignAspect" href="<?php //echo $link; ?>" rel="theater" ajaxify="https://www.facebook.com/photo.php?fbid=588095654595373&amp;set=gm.260721824085121&amp;type=1&amp;relevant_count=1&amp;ref=nf&amp;src=https%3A%2F%2Ffbcdn-sphotos-f-a.akamaihd.net%2Fhphotos-ak-prn2%2F1545655_588095654595373_1353054388_n.jpg&amp;size=819%2C644&amp;source=12" data-ft="{&quot;type&quot;:41,&quot;tn&quot;:&quot;E&quot;}">
                                         <div class="_46-h photoWrap" style="width:398px;height:312px;"><img class="_46-i img" src="<?php echo $picture; ?>" style="left:-1px; top:0px;" alt="<?php echo $message ?>" width="400" height="315"></div>
                                      </a>
                                   </div>
                                </div>
                                <?php } ?>
                                 <!-- end picture topic-->
                                 <!-- Comment Post -->
                                 <form rel="async" class="live_260845244072779_316526391751760 commentable_item autoexpand_mode" method="post" action="/ajax/ufi/modify.php" data-live="{&quot;seq&quot;:261269247363712}" id="u_jsonp_2_2b" onsubmit="return window.Event &amp;&amp; Event.__inlineSubmit &amp;&amp; Event.__inlineSubmit(this,event)">
                                     <input type="hidden" name="charset_test" value="Ã¢â€šÂ¬,Ã‚Â´,Ã¢â€šÂ¬,Ã‚Â´,?,?,?">
                                     <input type="hidden" name="fb_dtsg" value="AQCNmCsC" autocomplete="off">
                                     <input type="hidden" autocomplete="off" name="feedback_params" value="{&quot;actor&quot;:&quot;100001655825697&quot;,&quot;target_fbid&quot;:&quot;260845244072779&quot;,&quot;target_profile_id&quot;:&quot;&quot;,&quot;type_id&quot;:&quot;308&quot;,&quot;assoc_obj_id&quot;:&quot;241619362662034&quot;,&quot;source_app_id&quot;:&quot;0&quot;,&quot;extra_story_params&quot;:[],&quot;content_timestamp&quot;:&quot;1388102794&quot;,&quot;check_hash&quot;:&quot;AQAOvfGnVmkctVRa&quot;,&quot;source&quot;:&quot;13&quot;}">
                                     <input type="hidden" autocomplete="off" name="data_only_response" value="1">
                                     <span class="uiStreamFooter">
                                     <span class="UIActionLinks UIActionLinks_bottom" data-ft="{&quot;tn&quot;:&quot;=&quot;,&quot;type&quot;:20}">
                                     <!-- LIKE -->
                                     <span>
                                     <a class="UFILikeLink" href="#" role="button" aria-live="polite" title="Like this" data-ft="{&quot;tn&quot;:&quot;&gt;&quot;}" data-reactid=".r[31iwg]">
                                        <?php echo $likes; ?> Like
                                     </a>
                                     </span> <label class="uiLinkButton comment_link" title="Leave a comment">
                                     <input class="uiLinkButtonInput" data-ft="{&quot;type&quot;:24,&quot;tn&quot;:&quot;S&quot;}" type="button" value="Comment" onclick="return fc_click(this);">
                                     </label><a class="share_action_link" href="/ajax/sharer/?s=37&amp;appid=2309869772&amp;p%5B0%5D=260845244072779&amp;profile_id=241619362662034&amp;share_source_type=group" rel="dialog" data-ft="{&quot;tn&quot;:&quot;J&quot;,&quot;type&quot;:25}" title="Send this to friends or post it on your timeline." role="button">Share</a>
                                     <span>
                                        <a class="UFISubscribeLink" href="#" role="button" aria-live="polite" title="Get a notification whenever someone comments." data-reactid=".r[15ukc]">Get Notifications</a>
                                        </span></span>
                                        <span class="uiStreamSource" data-ft="{&quot;type&quot;:26,&quot;tn&quot;:&quot;N&quot;}">
                                        <a href="/groups/hcmus.fit.lthd.hc/permalink/260845244072779/">
                                        <abbr title="" data-utime="1388102794"><?php echo $time['mday'].' tháng '.$time['mon']."  / ".($time['hours']+7)." : ".$time['minutes']; ?></abbr></a> <a data-hover="tooltip" aria-label="Show edit history" class="uiLinkSubtle" ajaxify="/ajax/edits/browser/post/?content_token=260845244072779" rel="dialog" href="#" role="button"> -Edited</a></span></span>
                                     <?php if(!empty($comments)) { ?>
                                     <div>
                                         <div class="uiUfi UFIContainer" id="u_jsonp_2_2y">
                                             <ul class="UFIList" data-ft="{&quot;tn&quot;:&quot;]&quot;}" data-reactid=".r[e7tp]">
                                                 <li class="UFIArrow" data-reactid=".r[e7tp].[0]"><i data-reactid=".r[e7tp].[0].[0]"></i></li>
                                                 <li class="UFIRow UFILikeSentence UFIFirstComponent" data-reactid=".r[e7tp].[1][0]">
                                                     <div class="clearfix" data-reactid=".r[e7tp].[1][0].[0]">
                                                         <!--<div class="lfloat" data-reactid=".r[e7tp].[1][0].[0].{left}"><a class="img _8o _8r UFILikeThumb UFIImageBlockImage" href="#" tabindex="-1" title="Like this" role="button" aria-label="Like this" data-reactid=".r[e7tp].[1][0].[0].{left}.[0]"><i class="UFILikeIcon" data-reactid=".r[e7tp].[1][0].[0].{left}.[0].[0]"></i></a></div>-->
                                                         <div class="" data-reactid=".r[e7tp].[1][0].[0].{right}">
                                                             <!--<div class="UFIImageBlockContent _42ef _8u" data-reactid=".r[e7tp].[1][0].[0].{right}.[0]">
                                                                 <div class="UFILikeSentenceText" data-reactid=".r[e7tp].[1][0].[0].{right}.[0].[0]"><span data-reactid=".r[e7tp].[1][0].[0].{right}.[0].[0].[0]"><a href="https://www.facebook.com/portgas.d.milker" class="profileLink" data-hovercard="/ajax/hovercard/hovercard.php?id=100002774764757&amp;extragetparams=%7B%22hc_location%22%3A%22ufi%22%7D" data-reactid=".r[e7tp].[1][0].[0].{right}.[0].[0].[0].[0]">Portgas D Milker</a><span data-reactid=".r[e7tp].[1][0].[0].{right}.[0].[0].[0].[1]"> likes this.</span></span></div>
                                                             </div>-->
                                                         </div>
                                                     </div>
                                                 </li>
                                                 <li class="UFIRow UFIPagerRow UFIFirstCommentComponent" data-ft="{&quot;tn&quot;:&quot;Q&quot;}" data-reactid=".r[e7tp].[1][3]{allPager}">
                                                     <div class="clearfix" data-reactid=".r[e7tp].[1][3]{allPager}.[0]">
                                                         <div class="lfloat" data-reactid=".r[e7tp].[1][3]{allPager}.[0].{left}"><a class="img _8o _8r UFIPagerIcon UFIImageBlockImage" href="#" role="button" tabindex="-1" aria-hidden="true" data-reactid=".r[e7tp].[1][3]{allPager}.[0].{left}.[0]"></a></div>
                                                         <div class="" data-reactid=".r[e7tp].[1][3]{allPager}.[0].{right}">
                                                             <div class="clearfix UFIImageBlockContent _42ef _8u" data-reactid=".r[e7tp].[1][3]{allPager}.[0].{right}.[0]">
                                                                 <div class="rfloat" data-reactid=".r[e7tp].[1][3]{allPager}.[0].{right}.[0].{right}"><span class="fcg UFIPagerCount" data-reactid=".r[e7tp].[1][3]{allPager}.[0].{right}.[0].{right}.[0]"></span></div>
                                                                 <div class="" data-reactid=".r[e7tp].[1][3]{allPager}.[0].{right}.[0].{left}">
                                                                 <a class="UFIPagerLink" href="#" role="button" data-reactid=".r[e7tp].[1][3]{allPager}.[0].{right}.[0].{left}.[0]">
                                                                 <span  data-reactid=".r[e7tp].[1][3]{allPager}.[0].{right}.[0].{left}.[0].[0]">
                                                                    View more comments
                                                                 </span></a></div>
                                                             </div>
                                                         </div>
                                                     </div>
                                                 </li>
                                                 <?php
                                                    $dem = 1;
                                                    foreach($comments as $comment){
                                                        $uid = $comment['cm_uid'];
                                                        $uname = $comment['cm_uname'];
                                                        //$umessage = $comment['cm_message'];
                                                        $umessage = $comment['cm_message'];//html_entity_decode($comment['cm_message'], ENT_QUOTES, 'UTF-8');//htmlentities(,ENT_QUOTES, 'UTF-8');
                                                 ?>
                                                 <!-- Item comment -->
                                                 <li class="   UFIRow UFIComment display UFIFirstComment" data-ft="{&quot;tn&quot;:&quot;R0&quot;}" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}">
                                                     <div class="clearfix" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0]">
                                                         <div class="lfloat" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{left}">
                                                         <a href="https://www.facebook.com/nguyenduc.khtn" data-hovercard="/ajax/hovercard/hovercard.php?id=100000743464150&amp;extragetparams=%7B%22hc_location%22%3A%22ufi%22%7D" data-ft="{&quot;tn&quot;:&quot;T&quot;}" class="img _8o _8s UFIImageBlockImage" tabindex="-1" aria-hidden="true" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{left}.[0]">
                                                         <img src="http://graph.facebook.com/<?php echo $uid; ?>/picture" class="img UFIActorImage _54ru" alt="" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{left}.[0].[0]"></a></div>
                                                         <div class="" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}">
                                                             <div class="clearfix UFIImageBlockContent _42ef" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0]">
                                                                 <div class="rfloat" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{right}"><a href="#" role="button" aria-label="Hide" data-hover="tooltip" data-tooltip-alignh="center" class="uiCloseButton UFICommentCloseButton" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{right}.[0]"><img class="img uiCloseButtonHighContrast" src="" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{right}.[0].[0]"></a></div>
                                                                 <div class="" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}">
                                                                     <div data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0]">
                                                                         <div class="UFICommentContent" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[0]">
                                                                         <a class="UFICommentActorName" href="https://www.facebook.com/<?php echo$uid; ?>" data-hovercard="/ajax/hovercard/hovercard.php?id=100000743464150&amp;extragetparams=%7B%22hc_location%22%3A%22ufi%22%7D" data-ft="{&quot;tn&quot;:&quot;;&quot;}" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[0].[0][0]">
                                                                         <?php echo $uname; ?>
                                                                         </a>
                                                                         <span data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[0].[0][2]"> </span>
                                                                         <span data-ft="{&quot;tn&quot;:&quot;K&quot;}" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[0].[0][3]">
                                                                            <span data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[0].[0][3].[0]">
                                                                                <span> 
                                                                                    <?php
                                                                                        echo $umessage;
                                                                                    ?>
                                                                                </span>
                                                                                <!--
                                                                                <a class="_58cn" href="https://www.facebook.com/hashtag/test" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[0].[0][3].[0].[0]">
                                                                                    <span class="_58cl" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[0].[0][3].[0].[0].[0]">#</span>
                                                                                    <span class="_58cm" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[0].[0][3].[0].[0].[1]">test</span>
                                                                                </a>
                                                                                -->
                                                                            </span>
                                                                         </span>
                                                                         <span data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[0].[3]"></span></div>
                                                                         <div class="fsm fwn fcg UFICommentActions" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[3]">
                                                                            <span data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[3].{metadata}">
                                                                                <a class="uiLinkSubtle" href="/groups/hcmus.fit.lthd.hc/permalink/260845244072779/?comment_id=261269070697063&amp;offset=0&amp;total_comments=6" data-ft="{&quot;tn&quot;:&quot;N&quot;}" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[3].{metadata}.[0]">
                                                                                    <abbr class="livetimestamp" title="Saturday, 28 December 2013 at 15:11" data-utime="1388218306" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[3].{metadata}.[0].[0]">
                                                                                    <?php
                                                                                        //echo $comment['created_time'];
                                                                                        $tr = rtrim($comment['cm_created'],'+0000');
                                                                                        $arr_times = explode('T',$tr);
                                                                                        //echo strtotime($tr);
                                                                                        $time = getdate(strtotime($tr));
                                                                                        echo $time['mday'].' tháng '.$time['mon']."  ".($time['hours']+7)." : ".$time['minutes'];
                                                                                    ?>
                                                                                    </abbr>
                                                                                </a>
                                                                            </span>
                                                                            <span data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[3].{likeToggle}{MIDDOT}"> 
                                                                            
                                                                            </span>
                                                                            <a class="UFILikeLink" href="#" role="button" data-ft="{&quot;tn&quot;:&quot;&gt;&quot;}" title="Like this comment" data-reactid=".r[e7tp].[1][3][1]{comment260845244072779_261269070697063}.[0].{right}.[0].{left}.[0].[3].{likeToggle}{action}">
                                                                                Like
                                                                            </a>
                                                                         </div>
                                                                     </div>
                                                                 </div>
                                                             </div>
                                                         </div>
                                                     </div>
                                                 </li>
                                                    <!-- end Item comment -->
                                                 <?php
                                                    }
                                                 ?>
                                             </ul>
                                         </div>
                                     </div>
                                     <?php } ?>
                                 </form>
                             </div>
                         </div>
                         <div class="_6a mlm uiPopover highlightSelector uiStreamHide" id="u_jsonp_2_1v"><a class="highlightSelectorButton uiStreamContextButton groupsMallSelector _p" href="#" aria-haspopup="true" aria-expanded="false" rel="toggle" id="u_jsonp_2_1w" role="button">Options</a></div>
                     </div>
                 </div>
             </li>
            <?php  
            }
            ?>
             
         </ul>
         <div id="pagelet_group_pager" style="display: none;">
            <div class="ptm" id="u_jsonp_2_30">
               <div class="clearfix uiMorePager stat_elem _52ju">
                  <div><a class="pam uiBoxLightblue uiMorePagerPrimary" onclick="(JSCC.get(&quot;j1HCPZU5s2cj9mQZfX0&quot;) &amp;&amp; JSCC.get(&quot;j1HCPZU5s2cj9mQZfX0&quot;).getHandler())(); return false;" href="#" role="button">Older posts</a><span class="uiMorePagerLoader pam uiBoxLightblue"><img class="img" src="https://fbstatic-a.akamaihd.net/rsrc.php/v2/yb/r/GsNJNwuI-UM.gif" alt="" width="16" height="11"></span></div>
               </div>
            </div>
         </div>
      </div>
   </div>
</div>


<script type="text/javascript">
    /*var flagLoadingFinish = true;
    var counter_lazy_load = 1;
    function lastPostFunc()
    {
        counter_lazy_load += 1;
        flagLoadingFinish = false;
        $.post("index.php?route=product/category/loadLazyData&load_lazy_data=true&counter_load="+counter_lazy_load+"&limit=<?php echo$limit;?>&path=<?php echo $path;?><?php echo  isset($url_lazy_load) ? $url_lazy_load : '' ;?>",

            function(data){
                $('.img-loading').css('display','none');
                if (data != "false") {

                    for(var i = 0 ; i < parseInt(data.products.length) ; i++){
                        var html = '<li>';
                        html +=' <a href="' + data.products[i].href + '">';
                        html +='<img src="' + data.products[i].thumb + '" title="' + data.products[i].name + '" alt="' + data.products[i].name + '" />';
                        html +='<span class="box_price"><span class="price">' + data.products[i].price + '</span></span>';
                        html +='<span class="name">' + data.products[i].name + '</span>';
                        html +='</a>';
                        html +='</li>';
                        $("#grid-view-result> ul").append(html);
                        html = '';
                        html +=' <li>';
                        html +=' <div class="product-img">';
                        html +='<a href="' + data.products[i].href + '" title="' + data.products[i].name + '" alt="' + data.products[i].name + '"><img src="' + data.products[i].thumb + '" title="' + data.products[i].name + '" alt="' + data.products[i].name + '" /></a>';
                        html +='</div>';
                        html +='<div class="product-infor">';
                        html +='<h3>' + data.products[i].name + '</h3>';
                        html +='<p>' + data.products[i].description + '</p>';
                        html +='<div class="price-size">';
                        html +='<div class="price">' + data.products[i].price + '</div>';
                        html +='</div>';
                        html +='<div class="order-product">';
                        html +='<ul>';
                        html +='<li><a href="' + data.products[i].href +'">'+'<?php echo $button_order_online; ?>'+'</a></li>';
                        html +='<li><a href="index.php?route=information/product_boutique&product_id='+ data.products[i].product_id +'&sku='+ data.products[i].sku +'" class="colorbox-boutique">'+'<?php echo $button_store; ?>'+'</a></li>';
                        html +='</ul>';
                        html +='</div>';
                        html +='</div>';
                        html +='</li>';
                        $("#list-view-result> ul").append(html);
                        $('.colorbox').colorbox({
                            overlayClose: true,
                            opacity: 0.5,
                            rel: "colorbox",
                            title:false,
                            current:''
                        });

                        $(function() {
                            var selectBox = $("select").selectBoxIt();
                        });

                    }
                    zoomProduct();
                    pricePosition();
                    flagLoadingFinish = true;
                    $('.colorbox-boutique').colorbox({
                        opacity: 0.5,
                        scalePhotos: true,
                        width:430,
                        height: 500,
                        top:50
                    });
                }
            },'json');
    };

    $(window).scroll(function(){
        if(($(window).scrollTop() == $(document).height() - $(window).height())
            || ($(window).scrollTop() + $(window).height()) >= $('#footer').offset().top ){
            if(flagLoadingFinish){
                lastPostFunc();
                $('.img-loading').css('display','block');
            } else {
                $('.img-loading').css('display','none');
            }
        }
    });*/
</script>